package com.yang.flower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yang.flower.dto.UserDTO;
import com.yang.flower.entity.User;

/**
 * @Description: UserService
 * @Author: Yang
 * @DateTime: 2022/11/14 21:48
 **/
public interface UserService extends IService<User> {

    //登录
    UserDTO login(UserDTO userDTO);

    //注册
    boolean register(User user);
}
